package com.greenentity;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by admin on 2018/5/29.
 * 安全工器具
 */
@Entity
public class SafetyTool {

    /**
     * workGuid : ac6f256e-5994-42b3-8bb5-46ba8542515c
     * toolsNum : 11
     * toolsGuid : ddddddddd
     * sortNo : 1
     * toolsName : aaa
     * toolsId : 1
     * toolsUnit : 个
     * toolsType : aa
     */
    @Id
    private Long toolsId;
    private String workGuid;
    private double toolsNum;
    private String toolsGuid;
    private int sortNo;
    private String toolsName;
    private String toolsUnit;
    private String toolsType;


    @Generated(hash = 471792098)
    public SafetyTool(Long toolsId, String workGuid, double toolsNum,
            String toolsGuid, int sortNo, String toolsName, String toolsUnit,
            String toolsType) {
        this.toolsId = toolsId;
        this.workGuid = workGuid;
        this.toolsNum = toolsNum;
        this.toolsGuid = toolsGuid;
        this.sortNo = sortNo;
        this.toolsName = toolsName;
        this.toolsUnit = toolsUnit;
        this.toolsType = toolsType;
    }

    @Generated(hash = 1920101222)
    public SafetyTool() {
    }


    public String getWorkGuid() {
        return workGuid;
    }

    public void setWorkGuid(String workGuid) {
        this.workGuid = workGuid;
    }

    public double getToolsNum() {
        return toolsNum;
    }

    public void setToolsNum(double toolsNum) {
        this.toolsNum = toolsNum;
    }

    public String getToolsGuid() {
        return toolsGuid;
    }

    public void setToolsGuid(String toolsGuid) {
        this.toolsGuid = toolsGuid;
    }

    public int getSortNo() {
        return sortNo;
    }

    public void setSortNo(int sortNo) {
        this.sortNo = sortNo;
    }

    public String getToolsName() {
        return toolsName;
    }

    public void setToolsName(String toolsName) {
        this.toolsName = toolsName;
    }

    public Long getToolsId() {
        return toolsId;
    }

    public void setToolsId(Long toolsId) {
        this.toolsId = toolsId;
    }

    public String getToolsUnit() {
        return toolsUnit;
    }

    public void setToolsUnit(String toolsUnit) {
        this.toolsUnit = toolsUnit;
    }

    public String getToolsType() {
        return toolsType;
    }

    public void setToolsType(String toolsType) {
        this.toolsType = toolsType;
    }
}
